/**
 * 
 */
package com.feonix.designPattern.TemplateMethod.sample1;

import java.io.InputStream;

/**
 * @CopyRight (c)1993-2017
 * @Project common_practice
 * @Comments 请输入该类的描述
 * @NameSpace com.feonix.designPattern.TemplateMethod.sample1
 * @Author Feonixzw
 * @CreateDate 2018年1月25日
 */
public class Main {
	

	public static void main(String[] args) {
		AbstractDisplay abs = new CharDisplay('A');
		
		AbstractDisplay abs1 = new StringDisplay("呵呵呵呵我爱你");
		
		abs.display();
		
		abs1.display();
		
	}
}
